<script setup lang='ts'>
const router = useRouter()
</script>
<template>
  <div class="not-found">
    <img src="@/assets/notfound.svg" alt="">
    <el-button type="primary" @click="router.push('/')">返回首页</el-button>
  </div>
</template>
<style scoped lang='scss'>
.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  font-size: 20px;
  color: #999;
  img {
    width: 300px;
    margin-bottom: 20px;
  }

}
</style>